home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / comm2 / xbtx.lha / Source / BTXDisplay.hpp < prev    next >
C/C++ Source or Header  |  1995-10-13  |  3KB  |  77 lines

  1. /*
  2. **    $Id: BTXDisplay.hpp 1.5 1995/10/13 11:43:06 olsen Exp olsen $
  3. **
  4. **    :ts=4
  5. */
  6.  
  7. /*
  8.  * Copyright © 1995 by Olaf Barthel, All Rights Reserved
  9.  *
  10.  * Redistribution and use in source and binary forms, with or without
  11.  * modification, are permitted provided that the following conditions
  12.  * are met:
  13.  * 1. Redistributions of source code must retain the above copyright
  14.  *    notice, this list of conditions and the following disclaimer.
  15.  * 2. Redistributions in binary form must reproduce the above copyright
  16.  *    notice, this list of conditions and the following disclaimer in the
  17.  *    documentation and/or other materials provided with the distribution.
  18.  *
  19.  * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
  20.  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  21.  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO
  22.  * EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  23.  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  24.  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
  25.  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  26.  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  27.  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  28.  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  29.  *
  30.  * This software has not been validated by the ``Bundesamt fuer Zulassungen in
  31.  * der Telekommunikation'' of the ``Deutsche Bundepost Telekom'' and thus
  32.  * must not be used for accessing the BTX-Network of the Telekom in Germany.
  33.  *
  34.  * Diese Software hat keine Zulassung durch das Bundesamt fuer Zulassungen in
  35.  * der Telekommunikation der Deutschen Bundespost Telekom und darf daher nicht
  36.  * am Netz der Deutschen Bundespost Telekom in Deutschland betrieben werden.
  37.  */
  38.  
  39. #ifndef _BTXDISPLAY_HPP
  40. #define _BTXDISPLAY_HPP 1
  41.  
  42. /****************************************************************************/
  43.  
  44. #ifndef _TYPES_HPP
  45. #include "Types.hpp"
  46. #endif
  47.  
  48. /****************************************************************************/
  49.  
  50. class BTXDisplay
  51. {
  52.     public:
  53.  
  54.         BTXDisplay() {};
  55.         virtual ~BTXDisplay() {};
  56.  
  57.         virtual LONG Open(STRPTR PubScreen,int XScale,int YScale,BOOL DirectRender) { return(-1); }
  58.         virtual VOID Close(VOID) {};
  59.         virtual VOID MonitorData(int *rows,int *fontheight) {};
  60.         virtual ULONG WaitMask(VOID) { return(NULL); }
  61.         virtual LONG GetChar(VOID) { return(-1); }
  62.         virtual LONG Waiting(VOID) { return(0); }
  63.         virtual VOID PutLine(STRPTR Line) {}
  64.  
  65.         virtual void xputc(int c,int set,int x,int y,int xdouble,int ydouble,int underline,int diacrit,int fg,int bg) {};
  66.         virtual void xclearscreen(void) {};
  67.         virtual void xcursor(int x,int y) {};
  68.         virtual void define_raw_DRC(int c,unsigned char *data,int bits) {};
  69.         virtual void define_color(int index,int r,int g,int b) {};
  70.         virtual void define_DCLUT(int entry,int index) {};
  71.         virtual void define_fullrow_bg(int row,int index) {};
  72.         virtual void free_DRCS(void) {};
  73.         virtual void default_colors(void) {};
  74. };
  75.  
  76. #endif    // _BTXDISPLAY_HPP
  77.